package org.freeone.k8s.web.knife.sdk;

import javax.validation.constraints.NotEmpty;
import java.util.List;

public class TestRequest {

    private CommonRequest cr2;



    private InternelTestClass internelClass;

    private CommonRequest cr1;



    public CommonRequest getCr1() {
        return this.cr1;
    }

    public void setCr1(CommonRequest cr1) {
        this.cr1 = cr1;
    }

    public CommonRequest getCr2() {
        return this.cr2;
    }

    public void setCr2(CommonRequest cr2) {
        this.cr2 = cr2;
    }

    public InternelTestClass getInternelClass() {
        return internelClass;
    }

    public void setInternelClass(InternelTestClass internelClass) {
        this.internelClass = internelClass;
    }






    public static class InternelTestClass {
        private String name;

        private Integer age;

        @NotEmpty
        private String notEmpty;

        private InternelTestClass2 internalClass2;

        public InternelTestClass2 getInternalClass2() {
            return this.internalClass2;
        }

        public void setInternalClass2(InternelTestClass2 internalClass2) {
            this.internalClass2 = internalClass2;
        }

        public String getNotEmpty() {
            return this.notEmpty;
        }

        public void setNotEmpty(String notEmpty) {
            this.notEmpty = notEmpty;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getAge() {
            return age;
        }

        public void setAge(Integer age) {
            this.age = age;
        }
    }

    public static class InternelTestClass2 {

        private String name;

        private Integer age;

        @NotEmpty
        private String notEmpty;



        public String getNotEmpty() {
            return this.notEmpty;
        }

        public void setNotEmpty(String notEmpty) {
            this.notEmpty = notEmpty;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getAge() {
            return age;
        }

        public void setAge(Integer age) {
            this.age = age;
        }
    }
}
